import styled from "styled-components";
import {HomeWrapper} from "../Home/style";
import {Blue, Yellow} from "@/style/Color";

export const LoginContainer = styled(HomeWrapper)`
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  height: auto;
  padding: 0;
  justify-content: center;
`

export const BackUp = styled.div`
  width: auto;
  height: auto;
  position: fixed;
  left: 15%;
  top: 5%;
  cursor: pointer;

  label {
    letter-spacing: 2px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
  }
`

export const Space = styled.div`
  width: 100%;
  height: 20px;
`
export const SmallSpace = styled.div`
  width: 100%;
  height: 12px;
`
export const Ways = styled.div`
  width: calc(100% - 40px);
  height: auto;
  position: absolute;
  bottom: 20px;

  p {
    user-select: none;
    text-align: center;
    color: #999;
  }
`
export const VideoBackground = styled.video`
  width: ${props => props['width']};
  height: ${props => props['height']};
  object-fit: fill;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
`
export const Span = styled.div`
  user-select: none;
  color: #999;
  text-align: right;
  margin-top: 10px;
  margin-right: 10px;
  text-decoration: underline;
  cursor: pointer;
  transition: .2s ease-in-out;
  :hover {
    color: ${Blue};
  }
`
export const OtherWayContainer = styled.div`
  width: 100%;
  height: 40px;
  text-align: center;
  float: left;

  span {
    margin: 0 5px;
    font-size: 30px;
    cursor: pointer;
  }
`
export const FormPart = styled.div`
  position: absolute;
  left: calc(50% - 175px);
  top: calc(50% - 270px);
  overflow: hidden;
  height: 540px;
  float: left;
  margin: 0 auto;
  padding: 30px 15px;

  width: 350px;
  background-color: rgb(255, 255, 255, 1);
`
export const Title = styled.h2`
  user-select: none;
  font-size: 14px;
  text-align: center;
  margin: 15px 0;

  span {
    cursor: pointer;
    transition: .20s ease-in-out;
    border-color: rgb(0, 0, 0, 0);
    letter-spacing: 1px;
    padding: 0 2px 3px 2px;

    &.select {
      color: rgb(85, 136, 220);
      border-bottom: 1px solid rgba(96, 142, 219, 0.9);
    }
  }

`

export const Title4Login = styled.div`
  float: left;
  color: #333333;

  &.light {
    color: #ff782b;
  }

  a {
    margin: 0 20px;
    font-weight: 500;
  }

  a:hover {
    color: #ffb689;
  }
`
export const Title4Sign = styled.div`
  float: left;
  color: #333333;

  &.light {
    color: #ff782b;
  }

  a {
    margin: 0 20px;
    font-weight: 500;
    color: #ff782b;
  }

  a:hover {
    color: #ffb689;
  }
`

